const {merge} = require('webpack-merge');
const commonConfig = require('./webpack.common.js');
const {CleanWebpackPlugin} = require('clean-webpack-plugin')

const prodConfig = {
    mode:'production',
    devtool:'nosources-source-map',
    plugins: [
        new CleanWebpackPlugin()
    ]
}

module.exports =  merge(commonConfig, prodConfig);